package client;

import targetClass.USPowerSource;

// 客户端：美国电器
public class USAppliance {
    private USPowerSource powerSource;
    
    public USAppliance(USPowerSource powerSource) {
        this.powerSource = powerSource;
    }
    
    public void operate() {
        System.out.println("美国电器开始工作...");
        powerSource.providePower();
        System.out.println("美国电器正常运行");
    }
}